package cn.steel.mapper;

import cn.steel.domain.entity.Notification;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NotificationMapper {
    List<Notification> findNotificationsByUserId(Long userId);
    Notification findById(Long id);
    void updateNotification(Notification notification);
    void deleteNotification(Long id);
}